namespace UCosmic.Domain.Establishments
{
    public class EstablishmentTypeQuery : RevisableEntityQueryCriteria<EstablishmentType>
    {
        public string CategoryCode { get; set; }
        public string EnglishName { get; set; }
    }

    public static class EstablishmentTypeBy
    {
        public static EstablishmentTypeQuery EnglishName(string englishName)
        {
            return new EstablishmentTypeQuery { EnglishName = englishName };
        }
    }

    public static class EstablishmentTypesWith
    {
        public static EstablishmentTypeQuery CategoryCode(string categoryCode)
        {
            return new EstablishmentTypeQuery { CategoryCode = categoryCode };
        }
    }
}